import routerView from '@/components/layout/router-view'
export default [
	{
		path: 'role',
		name: 'role',
		meta:{
			icon:"el-icon-user",
			title:"角色管理",
			hide:false,
		},
		component: routerView,
		children:[
			{
				path: 'list',
				name: 'role-list',
				meta:{
					icon:"el-icon-user",
					title:"角色列表",
				},
				component: () => import('@/views/role/list')
			},
			{
				path: 'add',
				name: 'role-add',
				meta:{
					icon:"el-icon-user",
					title:"新增角色",
				},
				component: () => import('@/views/role/add')
			},
			{
				path: 'edit/:id',
				name: 'role-edit',
				meta:{
					icon:"el-icon-user",
					title:"编辑角色",
					hide:true
				},
				component: () => import('@/views/role/edit')
			},
		]
	}
]
